/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.grapeshot.halfnes;

import java.io.IOException;

/**
 *
 * @author Sebastien Dion & Yome Messena Jean
 */
public interface CommunicationInterface {
    public int port = 1337;
    
    /******/
    /*NOT SURE THOSE WILL BE USED*/
    public String readyMessage = "ready";
    public String closeMessage = "bye";
    /******/
    
    public void connect(); 
    public void connect(String ip);
    public void startListening()throws IOException;
    public int getReceivedByte();
    public void close();
    public void sendData(int byteToSend);    
    public boolean getConnectionStatus();
     public String readLineServer();

    public String getDistantIp();
}
